#include "Converter.h"

namespace tsc
{
namespace common
{

//------------------------------------------------------------------------------
//
// initialize instance
//
//------------------------------------------------------------------------------
Converter* Converter::mInstance = 0;

Converter::Converter()
{
}

Converter* Converter::instance()
{
  if (!mInstance)
  {
    mInstance = new Converter();
  }
  return mInstance;
}

//------------------------------------------------------------------------------
//
// specialization: converts string to a string
//
//------------------------------------------------------------------------------
template <>
std::string Converter::stringToType(std::string &aVal) throw(std::ios_base::failure)
{
  return aVal;
}

} // namespace common
} // namespace tsc
